package com.ruoyi.make.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客商对象 ks_merchants
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
@Data
public class KsMerchants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客商编码 */
    private String ksCode;

    /** 客商名称 */
    @Excel(name = "客商名称")
    private String merchantsName;

    /** 客商分类编码 */
    @Excel(name = "客商分类编码")
    private String ksTypeCode;

    /** 客商简称 */
    @Excel(name = "客商简称")
    private String merchantsAbbreviation;

    /** 客商等级编码 */
    @Excel(name = "客商等级编码")
    private String ksLevelCode;

    /** 客商属性编码 */
    @Excel(name = "客商属性编码")
    private String ksAttributeCode;

    /** 客商行业编码 */
    @Excel(name = "客商行业编码")
    private String ksIndustryCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isStart;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ksCode", getKsCode())
            .append("merchantsName", getMerchantsName())
            .append("ksTypeCode", getKsTypeCode())
            .append("merchantsAbbreviation", getMerchantsAbbreviation())
            .append("ksLevelCode", getKsLevelCode())
            .append("ksAttributeCode", getKsAttributeCode())
            .append("ksIndustryCode", getKsIndustryCode())
            .append("contactPerson", getContactPerson())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("address", getAddress())
            .append("isStart", getIsStart())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
